﻿using MiniFox.Components;
using MiniFox.Infrastructure;
using Repository.Core.Models.Dto;
using Repository.Core.Models.Queries;
using Repository.Core.Models.VO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Repository.Core.Providers
{
    [AutoRegister]
    public interface IRepositoryProvider
    {
        RepositorySetVo GetItem(string name);
        ResultObject<IEnumerable<RepositorySetVo>> Query(PagedQueryObject<CommonQuery> request);
        bool Save(RepositorySetDto dto);
    }
}
